<!DOCTYPE html>
<html lang="zh-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>JavaScript - 商品详情点击小图切换大图效果</title>
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>
    
    <div class="container">
        <div class="small-img-list">
            <img src="./images/01.jpg" alt="">
            <img src="./images/02.jpg" alt="">
            <img src="./images/03.jpg" alt="">
            <img src="./images/04.jpg" alt="">
        </div>
        <img class="big-img" src="./images/01.jpg"></img>
    </div>
    <script src="./js/index.js"></script>
</body>
</html>